import { Timeline as AntdTimeline } from 'antd';
import React from 'react';
import Item from './Item';

import type { TimelineProps as AntdTimelineProps } from 'antd';
export type { Props as TimelineItemProps } from './Item';
export { Item };
export type TimelineProps = AntdTimelineProps;

function Timeline(props: TimelineProps) {
  return <AntdTimeline {...props} />;
}
Timeline.Item = Item;
export default Timeline;
